import * as CONSTANT from '../constants'
import { fromJS } from 'immutable'

const initalState = fromJS({
    city : "",
    people_list : []
})


export default (state=initalState , action)=>{
    switch (action.type){
        case CONSTANT.SETPC:
            return state.set('city',action.city)
 
        default:
            return state
    }
}